﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using cn.Util;

namespace yq.BLOB
{
    ///<summary>
    /// Sys_Folder - 文件表 - 对象继承类
    /// </summary>
    internal class SysFolder
    {
        /// <summary>
        /// 文件夹ID
        /// </summary>
        private String _FolderId = "";


        ///<summary>
        /// 文件夹ID
        ///</summary>
        public String FolderId
        {
            get
            {
                return (this._FolderId);
            }

            set
            {
                _FolderId = value;
            }
        }

        /// <summary>
        /// 服务ID
        /// </summary>
        private String _Sid = "";


        ///<summary>
        /// 服务ID
        ///</summary>
        public String Sid
        {
            get
            {
                return (this._Sid);
            }

            set
            {
                _Sid = value;
            }
        }

        /// <summary>
        /// 文件数量
        /// </summary>
        private int _Num = int.MinValue;


        ///<summary>
        /// 文件数量
        ///</summary>
        public int Num
        {
            get
            {
                return (this._Num);
            }

            set
            {
                _Num = value;
            }
        }

        /// <summary>
        /// 是否通过HTTP访问
        /// </summary>
        private int _IsHttp = -1;


        ///<summary>
        /// 是否通过HTTP访问
        ///</summary>
        public int __IsHttp
        {
            get
            {
                return (this._IsHttp);
            }
            set
            {
                _IsHttp = value;
            }
        }

        public yq.Enums.BooleanType IsHttp
        {
            get
            {
                return (yq.Enums.BooleanType)_IsHttp;
            }

            set
            {
                _IsHttp = value.GetHashCode();
            }
        }


        /// <summary>
        /// 是否删除
        /// </summary>
        private int _IsDel = -1;


        ///<summary>
        /// 是否删除
        ///</summary>
        public int __IsDel
        {
            get
            {
                return (this._IsDel);
            }
            set
            {
                _IsDel = value;
            }
        }

        public yq.Enums.BooleanType IsDel
        {
            get
            {
                return (yq.Enums.BooleanType)_IsDel;
            }

            set
            {
                _IsDel = value.GetHashCode();
            }
        }


        /// <summary>
        /// 创建时间
        /// </summary>
        private DateTime _CTime = DateTime.MinValue;


        ///<summary>
        /// 创建时间
        ///</summary>
        public DateTime CTime
        {
            get
            {
                return (this._CTime);
            }

            set
            {
                _CTime = value;
            }
        }

        /// <summary>
        /// Version
        /// </summary>
        private String _Version = "";


        ///<summary>
        /// Version
        ///</summary>
        public String Version
        {
            get
            {
                return (this._Version);
            }

            set
            {
                _Version = value;
            }
        }

    }
}